home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / info / ediff.info-1.z / ediff.info-1
Encoding:
GNU Info File  |  1998-05-21  |  47.8 KB  |  1,144 lines

  1. This is Info file ../info/ediff.info, produced by Makeinfo version 1.68
  2. from the input file ediff.texi.
  3.  
  4.    This file documents Ediff, a comprehensive visual interface to Unix
  5. diff and patch utilities.
  6.  
  7.    Permission is granted to make and distribute verbatim copies of this
  8. manual provided the copyright notice and this permission notice are
  9. preserved on all copies.
  10.  
  11. 
  12. File: ediff.info,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
  13.  
  14. * Menu:
  15.  
  16. * Introduction::                About Ediff 2.67.
  17. * Major Entry Points::          How to use Ediff.
  18. * Session Commands::            Ediff commands used within a session.
  19. * Registry of Ediff Sessions::  Keeping track of multiple Ediff sessions.
  20. * Session Groups::              Comparing and merging directories.
  21. * Remote and Compressed Files::  You may want to know about this.
  22. * Customization::               How to make Ediff work the way YOU want.
  23. * Credits::                     Thanks to those who helped.
  24. * Index::
  25.  
  26. 
  27. File: ediff.info,  Node: Introduction,  Next: Major Entry Points,  Prev: Top,  Up: Top
  28.  
  29. Introduction
  30. ************
  31.  
  32.    Ediff provides a convenient way for simultaneous browsing through
  33. the differences between a pair (or a triple) of files or buffers (which
  34. are called `variants' for our purposes).  The files being compared,
  35. file-A, file-B, and file-C (if applicable) are shown in separate
  36. windows (side by side, one above the another, or in separate frames),
  37. and the differences are highlighted as you step through them.  You can
  38. also copy difference regions from one buffer to another (and recover
  39. old differences if you change your mind).
  40.  
  41.    Another powerful feature is the ability to merge a pair of files
  42. into a third buffer. Merging with an ancestor file is also supported.
  43. Furthermore, Ediff is equipped with directory-level capabilities that
  44. allow the user to conveniently launch browsing or merging sessions on
  45. groups of files in two (or three) different directories.
  46.  
  47.    In addition, Ediff can apply a patch to a file and then let you step
  48. though both files, the patched and the original one, simultaneously,
  49. difference-by-difference.  You can even apply a patch right out of a
  50. mail buffer, i.e., patches received by mail don't even have to be
  51. saved.  Since Ediff lets you copy differences between variants, you
  52. can, in effect, apply patches selectively (i.e., you can copy a
  53. difference region from `file.orig' to `file', thereby undoing any
  54. particular patch that you don't like).
  55.  
  56.    Ediff even understands multi-file patches and can apply them
  57. interactively!  (Ediff can recognize multi-file patches only if they
  58. are in the context format or GNU unified format. All other patches are
  59. treated as 1-file patches. Ediff is [hopefully] using the same
  60. algorithm as `patch' to determine which files need to be patched.)
  61.  
  62.    Ediff is aware of version control, which lets you compare files with
  63. their older versions. Ediff also works with remote and compressed
  64. files, automatically ftp'ing them over and uncompressing them.  *Note
  65. Remote and Compressed Files::, for details.
  66.  
  67.    This package builds upon ideas borrowed from Emerge, and several of
  68. Ediff's functions are adaptations from Emerge.  Although Ediff subsumes
  69. and greatly extends Emerge, much of the functionality in Ediff is
  70. influenced by Emerge.  The architecture and the interface are, of
  71. course, drastically different.
  72.  
  73. 
  74. File: ediff.info,  Node: Major Entry Points,  Next: Session Commands,  Prev: Introduction,  Up: Top
  75.  
  76. Major Entry Points
  77. ******************
  78.  
  79.    Ediff can be invoked interactively using the following functions,
  80. which can be run either from the minibuffer or from the menu bar. In
  81. the menu bar, all Ediff's entry points belong to three submenus of the
  82. Tools menu: Compare, Merge, and Apply Patch.
  83.  
  84. `ediff-files'
  85. `ediff'
  86.      Compare two files.
  87.  
  88. `ediff-buffers'
  89.      Compare two buffers.
  90.  
  91. `ediff-files3'
  92. `ediff3'
  93.      Compare three files.
  94.  
  95. `ediff-buffers3'
  96.      Compare three buffers.
  97.  
  98. `edirs'
  99. `ediff-directories'
  100.      Compare files common to two directories.
  101.  
  102. `edirs3'
  103. `ediff-directories3'
  104.      Compare files common to three directories.
  105.  
  106. `edir-revisions'
  107. `ediff-directory-revisions'
  108.      Compare versions of files in a given directory. Ediff selects only
  109.      the files that are under version control.
  110.  
  111. `edir-merge-revisions'
  112. `ediff-merge-directory-revisions'
  113.      Merge versions of files in a given directory. Ediff selects only
  114.      the files that are under version control.
  115.  
  116. `edir-merge-revisions-with-ancestor'
  117. `ediff-merge-directory-revisions-with-ancestor'
  118.      Merge versions of files in a given directory using other versions
  119.      as ancestors. Ediff selects only the files that are under version
  120.      control.
  121.  
  122. `ediff-windows-wordwise'
  123.      Compare windows word-by-word.
  124.  
  125. `ediff-windows-linewise'
  126.      Compare windows line-by-line.
  127.  
  128. `ediff-regions-wordwise'
  129.      Compare regions word-by-word.
  130.  
  131. `ediff-regions-linewise'
  132.      Compare regions line-by-line.
  133.  
  134. `ediff-revision'
  135.      Compare versions of the current buffer, if the buffer is visiting
  136.      a file under version control.
  137.  
  138. `ediff-patch-file'
  139. `epatch'
  140.      Patch a file or multiple files, then compare. If the patch applies
  141.      to just one file, Ediff will invoke a regular comparison session.
  142.      If it is a multi-file patch, then a session group interface will
  143.      be used and the user will be able to patch the files selectively.
  144.      *Note Session Groups::, for more details.
  145.  
  146.      Note that `ediff-patch-file' will actually use the `patch' utility
  147.      to change the the original files on disk. This is not that
  148.      dangerous, since you will always have the original contents of the
  149.      file saved in another file that has the extension `.orig'.
  150.      Furthermore, if the file is under version control, then you can
  151.      always back out to one of the previous versions (see the section
  152.      on Version Countrol in Emacs manual).
  153.  
  154.      `ediff-patch-file' is careful about versions control: if the file
  155.      to be patched is checked in, then Ediff will offer to check it
  156.      out, because failing to do so may result in the loss of the
  157.      changes when the file is checked out the next time.
  158.  
  159.      If you don't intend to modify the file via the patch and just want
  160.      to see what the patch is all about (and decide later), then
  161.      `ediff-patch-buffer' might be a better choice.
  162.  
  163. `ediff-patch-buffer'
  164. `epatch-buffer'
  165.      Patch a buffer, then compare. The buffer being patched and the
  166.      file visited by that buffer (if any) is *not* modified. The result
  167.      of the patch appears in some other buffer that has the name ending
  168.      with *_patched*.
  169.  
  170.      This function would refuse to apply a multifile patch to a buffer.
  171.      Use `ediff-patch-file' for that (and when you want the original
  172.      file to be modified by the `patch' utility).
  173.  
  174. `ediff-merge-files'
  175. `ediff-merge'
  176.      Merge two files.
  177.  
  178. `ediff-merge-files-with-ancestor'
  179. `ediff-merge-with-ancestor'
  180.      Like `ediff-merge', but with a third ancestor file.
  181.  
  182. `ediff-merge-buffers'
  183.      Merge two buffers.
  184.  
  185. `ediff-merge-buffers-with-ancestor'
  186.      Same but with ancestor.
  187.  
  188. `edirs-merge'
  189. `ediff-merge-directories'
  190.      Merge files common to two directories.
  191.  
  192. `edirs-merge-with-ancestor'
  193. `ediff-merge-directories-with-ancestor'
  194.      Same but using files in a third directory as ancestors.   If a
  195.      pair of files doesn't have an ancestor in the ancestor-directory,
  196.      you  will still be able to merge them without the ancestor.
  197.  
  198. `ediff-merge-revisions'
  199.      Merge two versions of the file visited by the current buffer.
  200.  
  201. `ediff-merge-revisions-with-ancestor'
  202.      Same but with ancestor.
  203.  
  204. `ediff-documentation'
  205.      Brings up this manual.
  206.  
  207. `ediff-show-registry'
  208. `eregistry'
  209.      Brings up Ediff session registry. This feature enables you to
  210.      quickly find and restart active Ediff sessions.
  211.  
  212. If you want Ediff to be loaded from the very beginning of your Emacs
  213. session, you should put this line in your `~/.emacs' file:
  214.  
  215.      (require 'ediff)
  216.  
  217. Otherwise, Ediff will be loaded automatically when you use one of the
  218. above functions, either directly or through the menus.
  219.  
  220.    When the above functions are invoked, the user is prompted for all
  221. the necessary information--typically the files or buffers to compare,
  222. merge, or patch. Ediff tries to be smart about these prompts. For
  223. instance, in comparing/merging files, it will offer the visible buffers
  224. as defaults.  In prompting for files, if the user enters a directory,
  225. the previously input file name will be appended to that directory. In
  226. addition, if the variable `ediff-use-last-dir' is not `nil', Ediff will
  227. offer previously entered directories as defaults (which will be
  228. maintained separately for each type of file, A, B, or C).
  229.  
  230.    All the above functions use the POSIX `diff' or `diff3' programs to
  231. find differences between two files.  They process the `diff' output and
  232. display it in a convenient form.  At present, Ediff understands only
  233. the plain output from diff.  Options such as `-c' are not supported,
  234. nor is the format produced by incompatible file comparison programs
  235. such as the VMS version of `diff'.
  236.  
  237.    The functions `ediff-files', `ediff-buffers', `ediff-files3',
  238. `ediff-buffers3' first display the coarse, line-based difference
  239. regions, as reported by the `diff' program.  The total number of
  240. difference regions and the current difference number are always
  241. displayed in the mode line of the control window.
  242.  
  243.    Since `diff' may report fairly large chunks of text as being
  244. different, even though the difference may be localized to just a few
  245. words or even to the white space or line breaks, Ediff further
  246. *refines* the regions to indicate which exact words differ.  If the
  247. only difference is in the white space and line breaks, Ediff says so.
  248.  
  249.    On a color display, fine differences are highlighted with color; on a
  250. monochrome display, they are underlined.  *Note Highlighting Difference
  251. Regions::, for information on how to customize this.
  252.  
  253.    The functions `ediff-windows-wordwise', `ediff-windows-linewise',
  254. `ediff-regions-wordwise' and `ediff-regions-linewise' do comparison on
  255. parts of existing Emacs buffers.  Since `ediff-windows-wordwise' and
  256. `ediff-regions-wordwise' are intended for relatively small segments of
  257. buffers, comparison is done on the basis of words rather than lines.
  258. No refinement is necessary in this case.  These commands are recommended
  259. only for relatively small regions (perhaps, up to 100 lines), because
  260. these functions have a relatively slow startup.
  261.  
  262.    To compare large regions, use `ediff-regions-linewise'.  This
  263. command displays differences much like `ediff-files' and
  264. `ediff-buffers'.
  265.  
  266.    The functions `ediff-patch-file' and `ediff-patch-buffer' apply a
  267. patch to a file or a buffer and then run Ediff on the appropriate
  268. files/buffers, displaying the difference regions.
  269.  
  270.    The entry points `ediff-directories', `ediff-merge-directories',
  271. etc., provide a convenient interface for comparing and merging files in
  272. different directories. The user is presented with Dired-like interface
  273. from which one can run a group of related Ediff sessions.
  274.  
  275.    For files under version control, `ediff-revisions' lets you compare
  276. the file visited by the current buffer to one of its checked-in
  277. versions.  You can also compare two checked-in versions of the visited
  278. file.  Moreover, the functions `ediff-directory-revisions',
  279. `ediff-merge-directory-revisions', etc., let you run a group of related
  280. Ediff sessions by taking a directory and comparing (or merging)
  281. versions of files in that directory.
  282.  
  283. 
  284. File: ediff.info,  Node: Session Commands,  Next: Registry of Ediff Sessions,  Prev: Major Entry Points,  Up: Top
  285.  
  286. Session Commands
  287. ****************
  288.  
  289.    All Ediff commands are displayed in a Quick Help window, unless you
  290. type `?' to shrink the window to just one line.  You can redisplay the
  291. help window by typing `?' again.  The Quick Help commands are detailed
  292. below.
  293.  
  294.    Many Ediff commands take numeric prefix arguments.  For instance, if
  295. you type a number, say 3, and then `j' (`ediff-jump-to-difference'),
  296. Ediff moves to the third difference region.  Typing 3 and then `a'
  297. (`ediff-diff-to-diff') copies the 3d difference region from variant A
  298. to variant B.  Likewise, 4 followed by `ra' restores the 4th difference
  299. region in buffer A (if it was previously written over via the command
  300. `a').
  301.  
  302.    Some commands take negative prefix arguments as well.  For instance,
  303. typing `-' and then `j' will make the last difference region current.
  304. Typing `-2' then `j' makes the penultimate difference region current,
  305. etc.
  306.  
  307.    Without the prefix argument, all commands operate on the currently
  308. selected difference region.  You can make any difference region current
  309. using the various commands explained below.
  310.  
  311.    For some commands, the actual value of the prefix argument is
  312. immaterial. However, if supplied, the prefix argument may modify the
  313. command (see `ga', `gb', and `gc').
  314.  
  315. * Menu:
  316.  
  317. * Quick Help Commands::             Frequently used commands.
  318. * Other Session Commands::          Commands that are not bound to keys.
  319.  
  320. 
  321. File: ediff.info,  Node: Quick Help Commands,  Next: Other Session Commands,  Up: Session Commands
  322.  
  323. Quick Help Commands
  324. ===================
  325.  
  326. `?'
  327.      Toggles the Ediff Quick Help window ON and OFF.
  328.  
  329. `G'
  330.      Prepares a mail buffer for sending a praise or a curse to the
  331.      Ediff maintainer.
  332.  
  333. `E'
  334.      Brings up the top node of this manual, where you can find further
  335.      information on the various Ediff functions and advanced issues,
  336.      such as customization, session groups, etc.
  337.  
  338. `v'
  339.      Scrolls up buffers A and B (and buffer C where appropriate) in a
  340.      coordinated fashion.
  341.  
  342. `V'
  343.      Scrolls the buffers down.
  344.  
  345. `<'
  346.      Scrolls the buffers to the left simultaneously.
  347.  
  348. `>'
  349.      Scrolls buffers to the right.
  350.  
  351. `wd'
  352.      Saves the output from the diff utility, for further reference.
  353.  
  354.      With prefix argument, saves the plain output from `diff' (see
  355.      `ediff-diff-program' and `ediff-diff-options'). Without the
  356.      argument, it saves customized `diff' output (see
  357.      `ediff-custom-diff-program' and `ediff-custom-diff-options'), if
  358.      it is available.
  359.  
  360. `wa'
  361.      Saves buffer A, if it was modified.
  362.  
  363. `wb'
  364.      Saves buffer B, if it was modified.
  365.  
  366. `wc'
  367.      Saves buffer C, if it was modified (if you are in a session that
  368.      compares three files simultaneously).
  369.  
  370. `a'
  371.      *In comparison sessions:* Copies the current difference region (or
  372.      the region specified as the prefix to this command) from buffer A
  373.      to buffer B.  Ediff saves the old contents of buffer B's region;
  374.      it can be restored via the command `rb', which see.
  375.  
  376.      *In merge sessions:* Copies the current difference region (or the
  377.      region specified as the prefix to this command) from buffer A to
  378.      the merge buffer.  The old contents of this region in buffer C can
  379.      be restored via the command `r'.
  380.  
  381. `b'
  382.      Works similarly, but copies the current difference region from
  383.      buffer B to buffer A (in *comparison sessions*) or the merge
  384.      buffer (in *merge sessions*).
  385.  
  386.      Ediff saves the old contents of the difference region copied over;
  387.      it can be reinstated via the command `ra' in comparison sessions
  388.      and `r' in merge sessions.
  389.  
  390. `ab'
  391.      Copies the current difference region (or the region specified as
  392.      the prefix to this command) from buffer A to buffer B.  This (and
  393.      the next five) command is enabled only in sessions that compare
  394.      three files simultaneously.  The old region in buffer B is saved
  395.      and can be restored via the command `rb'.
  396.  
  397. `ac'
  398.      Copies the difference region from buffer A to buffer C.  The old
  399.      region in buffer C is saved and can be restored via the command
  400.      `rc'.
  401.  
  402. `ba'
  403.      Copies the difference region from buffer B to buffer A.  The old
  404.      region in buffer A is saved and can be restored via the command
  405.      `ra'.
  406.  
  407. `bc'
  408.      Copies the difference region from buffer B to buffer C.  The
  409.      command `rc' undoes this.
  410.  
  411. `ca'
  412.      Copies the difference region from buffer C to buffer A.  The
  413.      command `ra' undoes this.
  414.  
  415. `cb'
  416.      Copies the difference region from buffer C to buffer B.  The
  417.      command `rb' undoes this.
  418.  
  419. `p'
  420. `DEL'
  421.      Makes the previous difference region current.
  422.  
  423. `n'
  424. `SPC'
  425.      Makes the next difference region current.
  426.  
  427. `j'
  428. `-j'
  429. `Nj'
  430.      Makes the very first difference region current.
  431.  
  432.      `-j' makes the last region current. Typing a number, N, and then
  433.      `j' makes the difference region N current. Typing -N (a negative
  434.      number) then `j' makes current the region Last - N.
  435.  
  436. `ga'
  437.      Makes current the difference region closest to the position of the
  438.      point in buffer A.
  439.  
  440.      However, with a prefix argument, Ediff would position all variants
  441.      around the area indicated by the current point in buffer A: if the
  442.      point is inside a difference region, then the variants will be
  443.      positioned at this difference region. If the point is not in any
  444.      difference region, then it is in an area where all variants agree
  445.      with each other. In this case, the variants will be positioned so
  446.      that each would display this area (of agreement).
  447.  
  448. `gb'
  449.      Makes current the difference region closest to the position of the
  450.      point in buffer B.
  451.  
  452.      With a prefix argument, behaves like `ga', but with respect to
  453.      buffer B.
  454.  
  455. `gc'
  456.      *In merge sessions:* makes current the difference region closest
  457.      to the point in the merge buffer.
  458.  
  459.      *In 3-file comparison sessions:* makes current the region closest
  460.      to the point in buffer C.
  461.  
  462.      With a prefix argument, behaves like `ga', but with respect to
  463.      buffer C.
  464.  
  465. `!'
  466.      Recomputes the difference regions, bringing them up to date.  This
  467.      is often needed because it is common to do all sorts of editing
  468.      during Ediff sessions, so after a while, the highlighted
  469.      difference regions may no longer reflect the actual differences
  470.      among the buffers.
  471.  
  472. `*'
  473.      Forces refinement of the current difference region, which
  474.      highlights the exact words of disagreement among the buffers. With
  475.      a negative prefix argument, unhighlights the current region.
  476.  
  477.      Forceful refinement may be needed if Ediff encounters a difference
  478.      region that is larger than `ediff-auto-refine-limit'. In this
  479.      situation, Ediff doesn't do automatic refinement in order to
  480.      improve response time.  (Ediff doesn't auto-refine on dumb
  481.      terminals as well, but `*' still works there. However, the only
  482.      useful piece of information it can tell you is whether or not the
  483.      difference regions disagree only in the amount of white space.)
  484.  
  485.      This command is also useful when the highlighted fine differences
  486.      are no longer current, due to user editing.
  487.  
  488. `m'
  489.      Displays the current Ediff session in a frame as wide as the
  490.      physical display. This is useful when comparing files
  491.      side-by-side. Typing `m' again restores the original size of the
  492.      frame.
  493.  
  494. `|'
  495.      Toggles the horizontal/vertical split of the Ediff display.
  496.      Horizontal split is convenient when it is possible to compare files
  497.      side-by-side. If the frame in which files are displayed is too
  498.      narrow and lines are cut off, typing `m' may help some.
  499.  
  500. `@'
  501.      Toggles auto-refinement of difference regions (i.e., automatic
  502.      highlighting of the exact words that differ among the variants).
  503.      Auto-refinement is turned off on devices where Emacs doesn't
  504.      support highlighting.
  505.  
  506.      On slow machines, it may be advantageous to turn auto-refinement
  507.      off. The user can always forcefully refine specific difference
  508.      regions by typing `*'.
  509.  
  510. `h'
  511.      Cycles between full highlighting, the mode where fine differences
  512.      are not highlighted (but computed), and the mode where
  513.      highlighting is done with ASCII strings. The latter is not really
  514.      recommended, unless on a dumb TTY.
  515.  
  516. `r'
  517.      Restores the old contents of the region in the merge buffer.  (If
  518.      you copied a difference region from buffer A or B into the merge
  519.      buffer using the commands `a' or `b', Ediff saves the old contents
  520.      of the region in case you change your mind.)
  521.  
  522.      This command is enabled in merge sessions only.
  523.  
  524. `ra'
  525.      Restores the old contents of the current difference region in
  526.      buffer A, which was previously saved when the user invoked one of
  527.      these commands: `b', `ba', `ca', which see. This command is
  528.      enabled in comparison sessions only.
  529.  
  530. `rb'
  531.      Restores the old contents of the current difference region in
  532.      buffer B, which was previously saved when the user invoked one of
  533.      these commands: `a', `ab', `cb', which see. This command is
  534.      enabled in comparison sessions only.
  535.  
  536. `rc'
  537.      Restores the old contents of the current difference region in
  538.      buffer C, which was previously saved when the user invoked one of
  539.      these commands: `ac', `bc', which see. This command is enabled in
  540.      3-file comparison sessions only.
  541.  
  542. `##'
  543.      Tell Ediff to skip over regions that disagree among themselves
  544.      only in the amount of white space and line breaks.
  545.  
  546.      Even though such regions will be skipped over, you can still jump
  547.      to any one of them by typing the region number and then `j'.
  548.      Typing `##' again puts Ediff back in the original state.
  549.  
  550. `#h'
  551. `#f'
  552.      Ediff works hard to ameliorate the effects of boredom in the
  553.      workplace...
  554.  
  555.      Quite often differences are due to identical replacements (e.g.,
  556.      the word `foo' is replaced with the word `bar' everywhere). If the
  557.      number of regions with such boring differences exceeds your
  558.      tolerance threshold, you may be tempted to tell Ediff to skip
  559.      these regions altogether (you will still be able to jump to them
  560.      via the command `j'). The above commands, `#h' and `#f', may well
  561.      save your day!
  562.  
  563.      `#h' prompts you to specify regular expressions for each variant.
  564.      Difference regions where each variant's region matches the
  565.      corresponding regular expression will be skipped from then on.
  566.      (You can also tell Ediff to skip regions where at least one
  567.      variant matches its regular expression.)
  568.  
  569.      `#f' does dual job: it focuses on regions that match the
  570.      corresponding regular expressions. All other regions will be
  571.      skipped over. *Note Selective Browsing::, for more.
  572.  
  573. `A'
  574.      Toggles the read-only property in buffer A.  If file A is under
  575.      version control and is checked in, it is checked out (with your
  576.      permission).
  577.  
  578. `B'
  579.      Toggles the read-only property in buffer B.  If file B is under
  580.      version control and is checked in, it is checked out.
  581.  
  582. `C'
  583.      Toggles the read-only property in buffer C (in 3-file comparison
  584.      sessions).  If file C is under version control and is checked in,
  585.      it is checked out.
  586.  
  587. `~'
  588.      Swaps the windows where buffers A and B are displayed. If you are
  589.      comparing three buffers at once, then this command would rotate
  590.      the windows among buffers A, B, and C.
  591.  
  592. `i'
  593.      Displays all kinds of useful data about the current Ediff session.
  594.  
  595. `D'
  596.      Runs `ediff-custom-diff-program' on the variants and displays the
  597.      buffer containing the output.  This is useful when you must send
  598.      the output to your Mom.
  599.  
  600.      With a prefix argument, displays the plain `diff' output.  *Note
  601.      Patch and Diff Programs::, for details.
  602.  
  603. `R'
  604.      Displays a list of currently active Ediff sessions--the Ediff
  605.      Registry.  You can then restart any of these sessions by either
  606.      clicking on a session record or by putting the cursor over it and
  607.      then typing the return key.
  608.  
  609.      (Some poor souls leave so many active Ediff sessions around that
  610.      they loose track of them completely... The `R' command is designed
  611.      to save these people from the recently discovered Ediff
  612.      Proficiency Syndrome.)
  613.  
  614.      Typing `R' brings up Ediff Registry only if it is typed into an
  615.      Ediff Control Panel. If you don't have a control panel handy, type
  616.      this in the minibuffer: `M-x eregistry'. *Note Registry of Ediff
  617.      Sessions::.
  618.  
  619. `M'
  620.      Shows the session group buffer that invoked the current Ediff
  621.      session.  *Note Session Groups::, for more information on session
  622.      groups.
  623.  
  624. `z'
  625.      Suspends the current Ediff session. (If you develop a condition
  626.      known as Repetitive Ediff Injury--a serious but curable
  627.      illness--you must change your current activity. This command tries
  628.      hard to hide all Ediff-related buffers.)
  629.  
  630.      The easiest way to resume a suspended Ediff session is through the
  631.      registry of active sessions.  *Note Registry of Ediff Sessions::,
  632.      for details.
  633.  
  634. `q'
  635.      Terminates this Ediff session. With a prefix argument (e.g.,`1q'),
  636.      asks if you also want to delete the buffers of the variants.
  637.      Modified files and the results of merges are never deleted.
  638.  
  639. `%'
  640.      Toggles narrowing in Ediff buffers. Ediff buffers may be narrowed
  641.      if you are comparing only parts of these buffers via the commands
  642.      `ediff-windows-*' and `ediff-regions-*', which see.
  643.  
  644. `C-l'
  645.      Restores the usual Ediff window setup. This is the quickest way to
  646.      resume an Ediff session, but it works only if the control panel of
  647.      that session is visible.
  648.  
  649. `$'
  650.      While merging with an ancestor file, Ediff is determined to reduce
  651.      user's wear and tear by saving him and her much of unproductive,
  652.      repetitive typing. If it notices that, say, file A's difference
  653.      region is identical to the same difference region in the ancestor
  654.      file, then the merge buffer will automatically get the difference
  655.      region taken from buffer B. The rationale is that this difference
  656.      region in buffer A is as old as that in the ancestor buffer, so
  657.      the contents of that region in buffer B represents real change.
  658.  
  659.      You may want to ignore such `obvious' merges and concentrate on
  660.      difference regions where both files `clash' with the ancestor,
  661.      since this means that two different people have been changing this
  662.      region independently and they had different ideas on how to do
  663.      this.
  664.  
  665.      The above command does this for you by skipping the regions where
  666.      only one of the variants clashes with the ancestor but the other
  667.      variant agrees with it. Typing `$' again undoes this setting.
  668.  
  669. `/'
  670.      Displays the ancestor file during merges.
  671.  
  672. `&'
  673.      In some situations, such as when one of the files agrees with the
  674.      ancestor file on a difference region and the other doesn't, Ediff
  675.      knows what to do: it copies the current difference region from the
  676.      second buffer into the merge buffer.
  677.  
  678.      In other cases, the right course of action is not that clearcut,
  679.      and Ediff would use a default action. The above command changes
  680.      the default action.  The default action can be `default-A' (choose
  681.      the region from buffer A), `default-B' (choose the region from
  682.      buffer B), or `combined' (combine the regions from the two
  683.      buffers).  *Note Merging and diff3::, for further details.
  684.  
  685.      The command `&' also affects the regions in the merge buffers that
  686.      have `default-A', `default-B', or `combined' status, provided they
  687.      weren't changed with respect to the original. For instance, if
  688.      such a region has the status `default-A' then changing the default
  689.      action to `default-B' will also replace this merge-buffer's region
  690.      with the corresponding region from buffer B.
  691.  
  692. `s'
  693.      Causes the merge wondow shrink to its minimum size, thereby
  694.      exposing as much of the variant buffers as possible. Typing `s'
  695.      again restores the original size of that window.
  696.  
  697.      With a positive prefix argument, this command enlarges the merge
  698.      window.  E.g., `4s' increases the size of the window by about 4
  699.      lines, if possible.  With a negative numeric argument, the size of
  700.      the merge window shrinks by that many lines, if possible. Thus,
  701.      `-s' shrinks the window by about 1 line and `-3s' by about 3 lines.
  702.  
  703.      This command is intended only for temporary viewing; therefore,
  704.      Ediff restores window C to its original size whenever it makes any
  705.      other change in the window configuration.  However, redisplaying
  706.      (`C-l') or jumping to another difference does not affect window
  707.      C's size.
  708.  
  709.      The split between the merge window and the variant windows is
  710.      controlled by the variable `ediff-merge-window-share', which see.
  711.  
  712. `+'
  713.      Combines the difference regions from buffers A and B and copies the
  714.      result into the merge buffer.  *Note Merging and diff3:: and the
  715.      variables `ediff-combine-diffs' and `ediff-combination-pattern'.
  716.  
  717. `='
  718.      You may run into situations when a large chunk of text in one file
  719.      has been edited and then moved to a different place in another
  720.      file. In such a case, these two chunks of text are unlikely to
  721.      belong to the same difference region, so the refinement feature of
  722.      Ediff will not be able to tell you what exactly differs inside
  723.      these chunks. Since eyeballing large pieces of text is contrary to
  724.      human nature, Ediff has a special command to help reduce the risk
  725.      of developing a cataract.
  726.  
  727.      The above command compares regions within Ediff buffers. This
  728.      creates a child Ediff session for comparing current Emacs regions
  729.      in buffers A, B, or C as follows:
  730.  
  731.      *If you are comparing 2 files or buffers:* Ediff would compare
  732.      current Emacs regions in buffers A and B.
  733.  
  734.      *If you are comparing 3 files or buffers simultaneously:* Ediff
  735.      would compare the current Emacs regions in the buffers of your
  736.      choice (you will be asked which two of the three buffers to use).
  737.  
  738.      *If you are merging files or buffers (with or without ancestor):*
  739.      Ediff would take the current region in the merge buffer and compare
  740.      it to the current region in the buffer of your choice (A or B).
  741.  
  742.      Highlighting set by the parent Ediff session is removed, to avoid
  743.      interference with highlighting of the child session. When done
  744.      with the child session, type `C-l' in the parent's control panel
  745.      to restore the original highlighting.
  746.  
  747.      If you temporarily switch to the parent session, parent
  748.      highlighting will be restored. If you then come back to the child
  749.      session, you may want to remove parent highlighting, so it won't
  750.      interfere. Typing `h' may help here.
  751.  
  752. 
  753. File: ediff.info,  Node: Other Session Commands,  Prev: Quick Help Commands,  Up: Session Commands
  754.  
  755. Other Session Commands
  756. ======================
  757.  
  758.    The following commands can be invoked from within any Ediff session,
  759. although some of them are not bound to a key.
  760.  
  761. `eregistry'
  762. `ediff-show-registry'
  763.      This command brings up the registry of active Ediff sessions.
  764.      Ediff registry is a device that can be used to resume any active
  765.      Ediff session (which may have been postponed because the user
  766.      switched to some other activity).  This command is also useful for
  767.      switching between multiple active Ediff sessions that are run at
  768.      the same time. The function `eregistry' is an alias for
  769.      `ediff-show-registry'.  *Note Registry of Ediff Sessions::, for
  770.      more information on this registry.
  771.  
  772. `ediff-toggle-multiframe'
  773.      Changes the display from the multi-frame mode (where the quick
  774.      help window is in a separate frame) to the single-frame mode
  775.      (where all Ediff buffers share the same frame), and vice versa.
  776.      See `ediff-window-setup-function' for details on how to make
  777.      either of these modes the default one.
  778.  
  779.      This function can also be invoked from the Menubar.  However, in
  780.      some cases, the change will take place only after you execute one
  781.      of the Ediff commands, such as going to the next difference or
  782.      redisplaying.
  783.  
  784. `ediff-toggle-use-toolbar'
  785.      Available in XEmacs only. The Ediff toolbar provides quick access
  786.      to some of the common Ediff functions. This function toggles the
  787.      display of the toolbar. If invoked from the menubar, the function
  788.      may take sometimes effect only after you execute an Ediff command,
  789.      such as going to the next difference.
  790.  
  791. `ediff-use-toolbar-p'
  792.      The use of the toolbar can also be specified via the variable
  793.      `ediff-use-toolbar-p' (default is `t'). This variable can be set
  794.      only in `.emacs' -- do *not* change it interactively. Use the
  795.      function `ediff-toggle-use-toolbar' instead.
  796.  
  797. `ediff-revert-buffers-then-recompute-diffs'
  798.      This command reverts the buffers you are comparing and recomputes
  799.      their differences.  It is useful when, after making changes, you
  800.      decided to make a fresh start, or if at some point you changed the
  801.      files being compared but want to discard any changes to comparison
  802.      buffers that were done since then.
  803.  
  804.      This command normally asks for confirmation before reverting files.
  805.      With a prefix argument, it reverts files without asking.
  806.  
  807. `ediff-profile'
  808.      Ediff has an admittedly primitive (but useful) facility for
  809.      profiling Ediff's commands.  It is meant for Ediff
  810.      maintenance--specifically, for making it run faster.  The function
  811.      `ediff-profile' toggles profiling of ediff commands.
  812.  
  813. 
  814. File: ediff.info,  Node: Registry of Ediff Sessions,  Next: Session Groups,  Prev: Session Commands,  Up: Top
  815.  
  816. Registry of Ediff Sessions
  817. **************************
  818.  
  819.    Ediff maintains a registry of all its invocations that are still
  820. *active*. This feature is very convenient for switching among active
  821. Ediff sessions or for quickly restarting a suspended Ediff session.
  822.  
  823.    The focal point of this activity is a buffer called **Ediff
  824. Registry**. You can display this buffer by typing `R' in any Ediff
  825. Control Buffer or Session Group Buffer (*note Session Groups::.), or by
  826. typing `M-x eregistry' into the Minibuffer.  The latter would be the
  827. fastest way to bring up the registry buffer if no control or group
  828. buffer is displayed in any of the visible Emacs windows.  If you are in
  829. a habit of running multiple long Ediff sessions and often need to
  830. suspend, resume, or switch between them, it may be a good idea to have
  831. the registry buffer permanently displayed in a separate, dedicated
  832. window.
  833.  
  834.    The registry buffer has several convenient key bindings.  For
  835. instance, clicking mouse button 2 or typing `RET' or `v' over any
  836. session record resumes that session.  Session records in the registry
  837. buffer provide a fairly complete description of each session, so it is
  838. usually easy to identify the right session to resume.
  839.  
  840.    Other useful commands are bound to `SPC' (next registry record) and
  841. `DEL' (previous registry record). There are other commands as well, but
  842. you don't need to memorize them, since they are listed at the top of
  843. the registry buffer.
  844.  
  845. 
  846. File: ediff.info,  Node: Session Groups,  Next: Remote and Compressed Files,  Prev: Registry of Ediff Sessions,  Up: Top
  847.  
  848. Session Groups
  849. **************
  850.  
  851.    Several major entries of Ediff perform comparison and merging on
  852. directories.  On entering `ediff-directories', `ediff-directories3',
  853. `ediff-merge-directories', `ediff-merge-directories-with-ancestor',
  854. `ediff-directory-revisions', `ediff-merge-directory-revisions', or
  855. `ediff-merge-directory-revisions-with-ancestor', the user is presented
  856. with a Dired-like buffer that lists files common to the directories
  857. involved along with their sizes. (The list of common files can be
  858. further filtered through a regular expression, which the user is
  859. prompted for.) We call this buffer *Session Group Panel* because all
  860. Ediff sessions associated with the listed files will have this buffer
  861. as a common focal point.
  862.  
  863.    Clicking button 2 or typing `RET' or `v' over a record describing
  864. files invokes Ediff in the appropriate mode on these files. You can
  865. come back to the session group buffer associated with a particular
  866. invocation of Ediff by typing `M' in Ediff control buffer of that
  867. invocation.
  868.  
  869.    Many commands are available in the session group buffer; some are
  870. applicable only to certain types of work. The relevant commands are
  871. always listed at the top of each session group buffer, so there is no
  872. need to memorize them.
  873.  
  874.    In directory comparison or merging, a session group panel displays
  875. only the files common to all directories involved. The differences are
  876. kept in a separate buffer and are conveniently displayed by typing `D'
  877. to the corresponding session group panel. Thus, as an added benefit,
  878. Ediff can be used to compare the contents of up to three directories.
  879.  
  880.    Session records in session group panels are also marked with `+', for
  881. active sessions, and with `-', for finished sessions.
  882.  
  883.    Sometimes, it is convenient to exclude certain sessions from a group.
  884. Usually this happens when the user doesn't intend to run Ediff of
  885. certain files in the group, and the corresponding session records just
  886. add clutter to the session group buffer. To help alleviate this
  887. problem, the user can type `h' to mark a session as a candidate for
  888. exclusion and `x' to actually hide the marked sessions. There actions
  889. are reversible: with a prefix argument, `h' unmarks the session under
  890. the cursor, and `x' brings the hidden sessions into the view (`x'
  891. doesn't unmark them, though, so the user has to explicitly unmark the
  892. sessions of interest).
  893.  
  894.    Group sessions also understand the command `m', which marks sessions
  895. for future operations (other than hiding) on a group of sessions. At
  896. present, the only such group-level operation is the creation of a
  897. multi-file patch.
  898.  
  899.    For group sessions created to merge files, Ediff can store all merges
  900. automatically in a directory. The user is asked to specify such
  901. directory if the value of `ediff-autostore-merges' is non-nil.  If the
  902. value is `nil', nothing is done to the merge buffers--it will be the
  903. user's responsibility to save them.  If the value is `t', the user will
  904. be asked where to save the merge buffers in all merge jobs, even those
  905. that do not originate from a session group.  It the value is neither
  906. `nil' nor `t', the merge buffer is saved *only* if this merge session
  907. was invoked from a session group.  This behavior is implemented in the
  908. function `ediff-maybe-save-and-delete-merge', which is a hook in
  909. `ediff-quit-merge-hook'. The user can supply a different hook, if
  910. necessary.
  911.  
  912.    The variable `ediff-autostore-merges' is buffer-local, so it can be
  913. set in a per-buffer manner. Therefore, use `setq-default' to globally
  914. change this variable.
  915.  
  916.    A multi-file patch is a concatenated output of several runs of the
  917. Unix `diff' command (some versions of `diff' let you create a
  918. multi-file patch in just one run). Ediff facilitates creation of
  919. multi-file patches as follows.  If you are in a session group buffer
  920. created in response to `ediff-directories' or
  921. `ediff-directory-revisions', you can mark (by typing `m') the desired
  922. Ediff sessions and then type `P' to create a multi-file patch of those
  923. marked sessions.  Ediff will then display a buffer containing the patch.
  924. The patch is generated by invoking `diff' on all marked individual
  925. sessions (represented by files) and session groups (represented by
  926. directories). Ediff will also recursively descend into any *unmarked*
  927. session group and will search for marked sessions there. In this way,
  928. you can create multi-file patches that span file subtrees that grow out
  929. of any given directory.
  930.  
  931.    In an `ediff-directories' session, it is enough to just mark the
  932. requisite sessions. In `ediff-directory-revisions' revisions, the
  933. marked sessions must also be active, or else Ediff will refuse to
  934. produce a multi-file patch. This is because, in the latter-style
  935. sessions, there are many ways to create diff output, and it is easier
  936. to handle by running Ediff on the inactive sessions.
  937.  
  938.    Last, but not least, by typing `=', you can quickly find out which
  939. sessions have identical files, so you won't have to run Ediff on those
  940. sessions. This, however, works only on local, uncompressed files.  For
  941. compressed or remote files, this command won't report anything.
  942.  
  943. 
  944. File: ediff.info,  Node: Remote and Compressed Files,  Next: Customization,  Prev: Session Groups,  Up: Top
  945.  
  946. Remote and Compressed Files
  947. ***************************
  948.  
  949.    Ediff works with remote, compressed, and encrypted files.  Ediff
  950. supports `ange-ftp.el', `jka-compr.el', `uncompress.el' and
  951. `crypt++.el', but it may work with other similar packages as well.
  952. This means that you can compare files residing on another machine, or
  953. you can apply a patch to a file on another machine.  Even the patch
  954. itself can be a remote file!
  955.  
  956.    When patching compressed or remote files, Ediff does not rename the
  957. source file (unlike what the `patch' utility would usually do).
  958. Instead, the source file retains its name and the result of applying
  959. the patch is placed in a temporary file that has the suffix `_patched'
  960. attached.  Generally, this applies to files that are handled using
  961. black magic, such as special file handlers (ange-ftp and some
  962. compression and encryption packages also use this method).
  963.  
  964.    Regular files are treated by the `patch' utility in the usual manner,
  965. i.e., the original is renamed into `source-name.orig' and the result of
  966. the patch is placed into the file source-name (`_orig' is used on
  967. systems like VMS, DOS, etc.)
  968.  
  969. 
  970. File: ediff.info,  Node: Customization,  Next: Credits,  Prev: Remote and Compressed Files,  Up: Top
  971.  
  972. Customization
  973. *************
  974.  
  975.    Ediff has a rather self-explanatory interface, and in most cases you
  976. won't need to change anything.  However, should the need arise, there
  977. are extensive facilities for changing the default behavior.
  978.  
  979.    Most of the customization can be done by setting various variables
  980. in the `.emacs' file. Some customization (mostly window-related
  981. customization and faces) can be done by putting appropriate lines in
  982. `.Xdefaults', `.xrdb', or whatever X resource file is in use.
  983.  
  984.    With respect to the latter, please note that the X resource for
  985. Ediff customization is `Ediff', *not* `emacs'.  *Note Window and Frame
  986. Configuration::, *Note Highlighting Difference Regions::, for further
  987. details. Please also refer to Emacs manual for the information on how
  988. to set Emacs X resources.
  989.  
  990. * Menu:
  991.  
  992. * Hooks::                       Customization via the hooks.
  993. * Quick Help Customization::    How to customize Ediff's quick help feature.
  994. * Window and Frame Configuration::  Controlling the way Ediff displays things.
  995. * Selective Browsing::          Advanced browsing through difference regions.
  996. * Highlighting Difference Regions::  Controlling highlighting.
  997. * Narrowing::                   Comparing regions, windows, etc.
  998. * Refinement of Difference Regions::  How to control the refinement process.
  999. * Patch and Diff Programs::     Changing the utilities that compute differences
  1000.                                 and apply patches.
  1001. * Merging and diff3::           How to customize Ediff in its Merge Mode.
  1002. * Support for Version Control::  Changing the version control package.
  1003.                                  You are not likely to do that.
  1004. * Customizing the Mode Line::   Changing the look of the mode line in Ediff.
  1005. * Miscellaneous::               Other customization.
  1006. * Notes on Heavy-duty Customization::  Customization for the gurus.
  1007.  
  1008. 
  1009. File: ediff.info,  Node: Hooks,  Next: Quick Help Customization,  Prev: Customization,  Up: Customization
  1010.  
  1011. Hooks
  1012. =====
  1013.  
  1014.    The bulk of customization can be done via the following hooks:
  1015.  
  1016. `ediff-load-hook'
  1017.      This hook can be used to change defaults after Ediff is loaded.
  1018.  
  1019. `ediff-keymap-setup-hook'
  1020.      This hook can be used to alter bindings in Ediff's keymap,
  1021.      `ediff-mode-map'. These hooks are run right after the default
  1022.      bindings are set but before `ediff-load-hook'.  The regular user
  1023.      needs not be concerned with this hook--it is provided for
  1024.      implementors of other Emacs packages built on top of Ediff.
  1025.  
  1026. `ediff-before-setup-windows-hook'
  1027. `ediff-after-setup-windows-hook'
  1028.      These two hooks are called before and after Ediff sets up its
  1029.      window configuration.  Can be used to save the configuration that
  1030.      existed before Ediff starts or for whatever other purposes.
  1031.  
  1032. `ediff-suspend-hook'
  1033. `ediff-quit-hook'
  1034.      These two hooks are run when you suspend or quit Ediff.  They can
  1035.      be used to set desired window configurations, delete files Ediff
  1036.      didn't want to clean up after exiting, etc.
  1037.  
  1038.      By default, `ediff-quit-hook' holds one hook function,
  1039.      `ediff-cleanup-mess', which cleans after Ediff, as appropriate in
  1040.      most cases.  You probably won't want to change it, but you might
  1041.      want to add other hook functions.
  1042.  
  1043.      Keep in mind that hooks executing before `ediff-cleanup-mess' start
  1044.      in `ediff-control-buffer;' they should also leave
  1045.      `ediff-control-buffer' as the current buffer when they finish.
  1046.      Hooks that are executed after `ediff-cleanup-mess' should expect
  1047.      the current buffer be either buffer A or buffer B.
  1048.      `ediff-cleanup-mess' doesn't kill the buffers being compared or
  1049.      merged (see `ediff-cleanup-hook', below).
  1050.  
  1051. `ediff-cleanup-hook'
  1052.      This hook is run just before `ediff-quit-hook'.  This is a good
  1053.      place to do various cleanups, such as deleting the variant buffers.
  1054.      Ediff provides a function, `ediff-janitor', as one such possible
  1055.      hook, which you can add to `ediff-cleanup-hook' with `add-hooks'.
  1056.  
  1057.      This function kills buffers A, B, and, possibly, C, if these
  1058.      buffers aren't modified. In merge jobs, buffer C is never deleted.
  1059.      However, the side effect of using this function is that you may
  1060.      not be able to compare the same buffer in two separate Ediff
  1061.      sessions: quitting one of them will delete this buffer in another
  1062.      session as well.
  1063.  
  1064. `ediff-quit-merge-hook'
  1065.      This hook is called when Ediff quits a merge job. By default, the
  1066.      value is `ediff-maybe-save-and-delete-merge', which is a function
  1067.      that attempts to save the merge buffer according to the value of
  1068.      `ediff-autostore-merges', as described later.
  1069.  
  1070. `ediff-before-setup-control-frame-hook'
  1071. `ediff-after-setup-control-frame-hook'
  1072.      These two hooks run before and after Ediff sets up the control
  1073.      frame.  They can be used to relocate Ediff control frame when
  1074.      Ediff runs in a multiframe mode (i.e., when the control buffer is
  1075.      in its own dedicated frame).  Be aware that many variables that
  1076.      drive Ediff are local to Ediff Control Panel
  1077.      (`ediff-control-buffer'), which requires special care in writing
  1078.      these hooks.  Take a look at `ediff-default-suspend-hook' and
  1079.      `ediff-default-quit-hook' to see what's involved.
  1080.  
  1081. `ediff-startup-hook'
  1082.      This hook is run at the end of Ediff startup.
  1083.  
  1084. `ediff-select-hook'
  1085.      This hook is run after Ediff selects the next difference region.
  1086.  
  1087. `ediff-unselect-hook'
  1088.      This hook is run after Ediff unselects the current difference
  1089.      region.
  1090.  
  1091. `ediff-prepare-buffer-hook'
  1092.      This hook is run for each Ediff buffer (A, B, C) right after the
  1093.      buffer is arranged.
  1094.  
  1095. `ediff-display-help-hook'
  1096.      Ediff runs this hook each time after setting up the help message.
  1097.      It can be used to alter the help message for custom packages that
  1098.      run on top of Ediff.
  1099.  
  1100. `ediff-mode-hook'
  1101.      This hook is run just after Ediff mode is set up in the control
  1102.      buffer. This is done before any Ediff window is created. You can
  1103.      use it to set local variables that alter the look of the display.
  1104.  
  1105. `ediff-registry-setup-hook'
  1106.      Hooks run after setting up the registry for all active Ediff
  1107.      session.  *Note Session Groups::, for details.
  1108.  
  1109. `ediff-session-group-setup-hook'
  1110.      Hooks run after setting up a control panel for a group of related
  1111.      Ediff sessions. *Note Session Groups::, for details.
  1112.  
  1113. `ediff-quit-session-group-hook'
  1114.      Hooks run just before exiting a session group.
  1115.  
  1116. `ediff-meta-buffer-keymap-setup-hook'
  1117.      Hooks run just after setting up the `ediff-meta-buffer-map' -- the
  1118.      map that controls key bindings in the meta buffer. Since
  1119.      `ediff-meta-buffer-map' is a local variable, you can set different
  1120.      bindings for different kinds of meta buffers.
  1121.  
  1122. 
  1123. File: ediff.info,  Node: Quick Help Customization,  Next: Window and Frame Configuration,  Prev: Hooks,  Up: Customization
  1124.  
  1125. Quick Help Customization
  1126. ========================
  1127.  
  1128.    Ediff provides quick help using its control panel window. Since this
  1129. window takes a fair share of the screen real estate, you can toggle it
  1130. off by typing `?'.  The control window will then shrink to just one
  1131. line and a mode line, displaying a short help message.
  1132.  
  1133.    The variable `ediff-use-long-help-message' tells Ediff whether you
  1134. use the short message or the long one.  By default, it is set to `nil',
  1135. meaning that the short message is used.  Set this to `t', if you want
  1136. Ediff to use the long message by default. This property can always be
  1137. changed interactively, by typing `?' into Ediff Control Buffer.
  1138.  
  1139.    If you want to change the appearance of the help message on a
  1140. per-buffer basis, you must use `ediff-startup-hook' to change the value
  1141. of the variable `ediff-help-message', which is local to
  1142. `ediff-control-buffer'.
  1143.  
  1144.